#pragma once
using namespace D2D1;
class DXTools
{
public:
	static void CreateBitmapFromFile(Windows::Storage::StorageFile^ file,
		_In_ Microsoft::WRL::ComPtr<IWICImagingFactory2> wicFactory,
		_In_ Microsoft::WRL::ComPtr<ID2D1DeviceContext> d2dDeviceContext,
		_Out_  ID2D1Bitmap** d2d1Bitmap);
	static bool CompareColor(ColorF lColor,UINT32 rColor);
};

